home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / sun / print / PrinterGraphicsDevice.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  822 b   |  40 lines

  1. package sun.print;
  2.  
  3. import java.awt.GraphicsConfiguration;
  4. import java.awt.GraphicsDevice;
  5. import java.awt.Window;
  6.  
  7. public final class PrinterGraphicsDevice extends GraphicsDevice {
  8.    String printerID;
  9.    GraphicsConfiguration graphicsConf;
  10.  
  11.    protected PrinterGraphicsDevice(GraphicsConfiguration var1, String var2) {
  12.       this.printerID = var2;
  13.       this.graphicsConf = var1;
  14.    }
  15.  
  16.    public int getType() {
  17.       return 1;
  18.    }
  19.  
  20.    public String getIDstring() {
  21.       return this.printerID;
  22.    }
  23.  
  24.    public GraphicsConfiguration[] getConfigurations() {
  25.       GraphicsConfiguration[] var1 = new GraphicsConfiguration[]{this.graphicsConf};
  26.       return var1;
  27.    }
  28.  
  29.    public GraphicsConfiguration getDefaultConfiguration() {
  30.       return this.graphicsConf;
  31.    }
  32.  
  33.    public void setFullScreenWindow(Window var1) {
  34.    }
  35.  
  36.    public Window getFullScreenWindow() {
  37.       return null;
  38.    }
  39. }
  40.